package com.fujimana.rockincat.restree.context;

import java.util.Set;

public interface Context {

	public Object get(String name);
	
	public Object get(String name, Scope scope);
	
	public void set(String name, Object value);

	public void set(String name, Object value, Scope scope);

	public void remove(String name);
	
	public void remove(String name, Scope scope);

	public boolean isSet(String name);
	
	public boolean isSet(String name, Scope scope);

	public Set<String> getKeys();
	
	public Set<String> getKeys(Scope scope);
	
	public Scope getScope();
	
	public enum Scope {
		APPLIATION,
		
		REQUEST,
		
		PHASE,
	}

}
